package com.wish.banking.service.impl;

import com.wish.banking.entity.TbBusiness;
import com.wish.banking.mapper.TbBusinessMapper;
import com.wish.banking.service.ITbBusinessService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 杨子强-商户表 服务实现类
 * </p>
 *
 * @author gaoluwen
 * @since 2022-04-05
 */
@Service
public class TbBusinessServiceImpl extends ServiceImpl<TbBusinessMapper, TbBusiness> implements ITbBusinessService {

    @Override
    public TbBusiness getBusinessId(Long userId) {
        return baseMapper.getBusinessId(userId);
    }
}
